package com.springapp.mvc.dao;

import java.util.List;

/**
 * Created by will.lin on 2015/9/15.
 */
public interface BaseDao<T> {

    int save(T t);

    int update(T t);

    T find(int id);

    int delete(int id);

    List<T> findAll();

}
